﻿<%@ Page Language="c#" ValidateRequest="false" %>
<%@ Register TagPrefix="tc" Namespace="TallComponents.Web" Assembly="App_Code" %>
<%@ Register TagPrefix="tc" Namespace="TallComponents.Web.Pdf" Assembly="TallComponents.Web.PdfViewer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head runat="server">
   <title>Limited Access Demo - PDFWebViewer.NET</title>
   <style type="text/css">
      body { font-family: Verdana, Arial, Helvetica, _sans; font-size: 12px; }
      .thumb { display: block; margin: 0px; padding:0px; }
      .thumb img { border: solid 1px #999999; margin: 3px; }
      .thumb:hover img { border: solid 2px #66ff33; margin: 2px; }
      .active img { border: solid 2px black; margin: 2px; }
      a:active { outline: 0 none black; }
   </style>
</head>
<body>
   <form id="Form1" method="post" runat="server" enctype="multipart/form-data">
   <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" />  
   <table cellpadding="0" cellspacing="2" style="width: auto;">
      <tr>
         <td style="border:1px solid #aaaaaa">
            <tc:PdfThumbnailsList ID="thumbnails" runat="server" PdfViewerControlId="pdfViewer" Width="160" Height="600" ServiceUrl="pageasimage.ashx" ThumbnailCssClass="thumb" SelectedThumbnailCssClass="active" />
         </td>
         <td valign="top" style="border:1px solid #aaaaaa">
            <tc:PdfViewerToolbar ID="Toolbar" runat="server" class="toolbar" PdfViewerControlId="pdfViewer" ShowFileButtons="false" />
            <tc:PdfViewer ID="pdfViewer" runat="server" StorageKey="pdfarchiving.pdf" Width="100%" Height="576" ZoomFactor="0.75" ServiceUrl="pageasimage.ashx"/>
         </td>
      </tr>
   </table>
   </form>
</body>
</html>
